package com.grm.document;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * 文章
 *
 * @author gaorimao
 */
@Document(indexName = "article")
@Data
public class Article {
    @Id
    private String id;
    private String title;
    private String author;
    private String desc;
    private Integer total;
}
